 <%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>sys_columns界面配置</title>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/themes/default/easyui.css" />
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/themes/icon.css" />
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/ainit.css" type="text/css"></link>
 	<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.8.3.min.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.easyui.min.1.3.1.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.json-2.4.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/ainit-index.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.ainit-1.0.0.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/model/js/model.js"></script> 
    <script type="text/javascript" src="${pageContext.request.contextPath}/model/js/jquery.ainit-1.1.0.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/model/configurePage/sysColumns.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/model/dataList/element.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/model/dataList/joinElement.js"></script>
    <script type="text/javascript">
    	$(function(){
    		initDSColumn();
    	})
    </script>
  </head>
  
  <body>
     <div id="ds_col_panel" class="easyui-tabs" plain="true"  border="false" style="overflow-x:hidden; border: 1px solid #99BBE8; " >  
     	<div id="dataStoreDiv" title="DataStore配置"><!-- dataStore主表的所有字段 -->
     		<div id="dsButn" style="border-bottom: 1px solid #99BBE8; height: 30px"><!-- 存放按钮 -->
     			DS_ID:<input type="text" name="dsId" id="dsIdVal" onkeydown="if(event.keyCode==13) dsInfo()"/>
     			<a class="easyui-linkbutton" href="#" pre='dsa' id="dsSaveButn" sflag='s' dsId='ds_sys_datastore1' sou='1' onclick="common_save(this)">保存</a>
     			<a class="easyui-linkbutton" href="#" onclick="newColns()">生成字段</a>
     		</div>
     		<form id="dsa_A_AFORM" dsId="${m.dsId}">
				<div id="dsDivStr"></div>
			</form> 
     	</div>
     	<div id="colnInfo" title="界面基础信息配置"><!-- column中基础信息（公用信息）字段 -->
     		<div id="colnInfoButn"><!-- 存放按钮 -->
     			<a class="easyui-linkbutton" href="#" onclick="saveCommInfo('colnInfoList')">保存</a>
     		</div>
     		<div id="colnInfoList"></div>
     	</div>
     	<div id="colnQuery" title="查询界面配置"><!-- column中查询界面需要的字段 -->
     		<div id="colnQrButn"><!-- 存放按钮 -->
     			<a class="easyui-linkbutton" href="#" onclick="saveCommInfo('colnQrList')">保存</a>
     		</div>
     		<div id="colnQrList"></div>
     	</div>
     	<div id="colnAdd" title="添加界面配置"><!-- column中添加界面需要的字段 -->
     		<div id="colnAddButn"><!-- 存放按钮 -->
     			<a class="easyui-linkbutton" href="#" onclick="saveCommInfo('colnAddList')">保存</a>
     		</div>
     		<div id="colnAddList"></div>
     	</div>
     	<div id="colnConfig" title="多条件界面配置"><!-- column中查询条件需要的字段 -->
     		<div id="colnConfigButn"><!-- 存放按钮 -->
     			<a class="easyui-linkbutton" href="#" onclick="saveCommInfo('colnConfigList')">保存</a>
     		</div>
     		<div id="colnConfigList"></div>
     	</div>
     </div>
  </body>
</html>
 